Skip to content

lajarajorge/CVE-2017-1000475

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

CVE-2017-1000475: Freesshd Unquoted Service Path

Prove of concept

Windows 10 with freeSSHd 1.3.1, installed by default and with the option running as a system service.

1

Command to check Unquoted Service Path. The service is unquoted by default.

2

The process is running as SYSTEM by default.

3

Create a Reverse Shell with MSFVenom to check the connection against an attacker and rename the executable Program.exe configured to connect against the attacker IP (192.168.158.133:4444):

4

And configure the listener to handle the connection:

5

Windows Network configuration:

6

When the Service is restarted, it executes Program.exe with SYSTEM privileges, returning a “NT AUTHORITY\SYSTEM” shell:

7

About

Unquoted Path Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published